define(function(require, exports, module) {

    var Modal = require('tool/modal');

    $('.new-staff').click(function() {
        Modal.modal({
            title: "添加员工",
            content: 'aaa',
            modalClass: "",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn modal-close'>取消</div>"]
        });

    })

    $('.new-department').click(function() {

        Modal.modal({
            title: "新增部门",
            content: __inline('tpl/department.html'),
            modalClass: "",
            modalclose:"show",
            btns: ["<div class='btn btn-blue'>确定</div>", "<div class='btn modal-close'>取消</div>"]
        });

    })
});
